package com.zhoujie.roomdemo.db;

import androidx.annotation.NonNull;
import androidx.room.Entity;
import androidx.room.Ignore;
import androidx.room.PrimaryKey;

@Entity
public class User {

    @PrimaryKey
    @NonNull
    public String account;

    public String pwd;

    @Ignore
    @Override
    @NonNull
    public String toString() {
        return "User{" +
                ", account='" + account + '\'' +
                ", pwd='" + pwd + '\'' +
                '}';
    }
}
